<?php

namespace app\api\controller;

use app\api\model\Member;
use app\common\controller\Frontend;

class Pay extends Frontend
{
    protected array $noNeedLogin = [];


    public function initialize(): void
    {
        parent::initialize();
    }


    public function payVipCard()
    {
       return json((new \app\api\model\Pay())->payVipCard($this->request_array));
    }


    /**
     * 升级会员卡
     * @throws Throwable
     */
    public function upgradeVipCard(){
        return json((new \app\api\model\Pay())->upgradeVipCard($this->request_array));
    }



}
